package org.vectrics.common.db;

public class ChangedProperty {
	private String name = null;
	private String oldValue = null;
	private String newValue = null;

	public ChangedProperty(String name, String oldValue, String newValue) {
		super();
		this.name = name;
		this.oldValue = oldValue;
		this.newValue = newValue;
	}

	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return Returns the newValue.
	 */
	public String getNewValue() {
		return newValue;
	}

	/**
	 * @return Returns the oldValue.
	 */
	public String getOldValue() {
		return oldValue;
	}

	public String toString() {
		return("name=" + this.name + "|oldValue=" + oldValue + "|newValue=" + newValue);
	}
}
